/*!
 * vinculum
 * Copyright(c) 2017 azzly
 * MIT Licensed
 */
 
'use strict';

/**
 * Module dependencies.
 * @private
 */
const helper = require("../helper");
const CONST = require("../CONST");
const config = require("../config");
const debug = require("../debug")(__filename);
const error = require("../HTTPErrors");
const datasource = require("../datasource");
const cache = require("../cache");
 
/**
 * module.
 */

module.exports = ()=>{
  return (req,res,next)=>{
		cache.clear();
		res.vinculum.send('clear success');
  }
};